package com.gy.api.mobile.company.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class CompanyLoginVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty("单位名称/统一社会信用代码")
    @NotNull(message = "单位名称/统一社会信用代码不能为空")
    private String loginName;

    @ApiModelProperty(value = "登录密码")
    @NotNull(message = "密码不能为空")
    private String password;

}
